package com.oncallmng.constant;

/**
 * 告警相关常量
 */
public class AlertConstant {
    /**
     * 告警级别
     */
    public static class Severity {
        /**
         * P1-严重
         */
        public static final String P1 = "P1";
        
        /**
         * P2-重要
         */
        public static final String P2 = "P2";
        
        /**
         * P3-一般
         */
        public static final String P3 = "P3";
    }
    
    /**
     * 告警状态
     */
    public static class Status {
        /**
         * 已触发
         */
        public static final String TRIGGERED = "TRIGGERED";
        
        /**
         * 已确认
         */
        public static final String ACKED = "ACKED";
        
        /**
         * 已解决
         */
        public static final String RESOLVED = "RESOLVED";
    }
    
    /**
     * 告警来源
     */
    public static class Source {
        /**
         * Prometheus
         */
        public static final String PROMETHEUS = "PROMETHEUS";
        
        /**
         * Zabbix
         */
        public static final String ZABBIX = "ZABBIX";
        
        /**
         * Grafana
         */
        public static final String GRAFANA = "GRAFANA";
        
        /**
         * 自定义Webhook
         */
        public static final String CUSTOM_WEBHOOK = "CUSTOM_WEBHOOK";
    }
} 